<nz-card style="width:100%;" [nzBordered]="false" [nzTitle]="'表格展示'" [nzExtra]="tableToolbar">
  <ng-content></ng-content>
</nz-card>
<ng-template #tableToolbar>
  <div class="ant-pro-table-toolbar">
    <div class="ant-pro-table-toolbar-option" *ngIf="needAddBtn" style="margin-right: 15px;">
      <button nz-button nzType="primary" (click)="addBtnClick()"><i nz-icon nzType="plus"></i>新增</button>
    </div>
    <div class="ant-pro-table-toolbar-default-option" *ngIf="needDelBtn" style="margin-right: 15px;">
      <button nz-button nzType="default" (click)="delBtnClick()"><i nz-icon nzType="minus"></i>批量删除</button>
    </div>
    <!--<div class="ant-pro-table-toolbar-default-option" *ngIf="needImpBtn">
      <nz-upload
        [nzAction]="uploadUrl"
        (nzChange)="impBtnClick($event)"
      >
        <button nz-button><i nz-icon nzType="upload"></i>导入</button>
      </nz-upload>
    </div>-->
    <!--  <div class="ant-pro-table-toolbar-default-option" *ngIf="needExpBtn">
        <button nz-button nzType="dashed" (click)="expBtnClick()"><i nz-icon nzType="download" nzTheme="outline"></i>导出
        </button>
      </div>-->
  </div>
</ng-template>
